﻿using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;

namespace ThridGroup.ERP.ProductionSystem
{
    /// <summary>
    /// 点检保养计划实体
    /// </summary>
    public class MaintenanceplanModel : Entity<int>
    {
        /// <summary>
        /// 项目编码
        /// </summary>
        [Required]
        [StringLength(50)]
        public string ProjectCode { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [Required]
        [StringLength(100)]
        public string ProjectName { get; set; }

        /// <summary>
        /// 项目类型（设备点检、设备保养）
        /// </summary>
        [Required]
        [StringLength(20)]
        public string ProjectType { get; set; }

        /// <summary>
        /// 项目内容
        /// </summary>
        [StringLength(500)]
        public string ProjectContent { get; set; }

        /// <summary>
        /// 标准
        /// </summary>
        [StringLength(500)]
        public string Standard { get; set; }

        /// <summary>
        /// 是否启用（数据库字段名）
        /// </summary>
        [StringLength(10)]
        public string WhethertoEnable { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedBy { get; set; }
    }
}
